<template>
  <div class="tuijian">

    <div class="tuijianT">
      <p>周末去那玩</p>
    </div>
    <div class="clear"></div>
    <div class="tuijianB" v-for="item of weekend" :key="item.id">
      <div class="tuijianBT">
        <img :src="item.imgUrl">
      </div>
      <div class="tuijianBM">
        <p>{{item.title}}</p>
      </div>
      <div class="tuijianBB">
        <p>{{item.desc}}</p>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: "weekend",
    props:{
      weekend:Array
    }
  }
</script>

<style scoped lang="stylus">
  @import "~css/varibles.styl";
  .tuijian{ width: 100%;height: auto;background: #ffffff;margin-top: .18rem}
  .tuijianT{ width: 100%;height: auto;text-align: center;line-height: 0.8rem;background: #fff;padding-bottom: .8rem}
  .tuijianT p{ width: 90%;float: left;text-align: left;padding-left:.4rem}
  .clear{ width: 100%;clear: both}
  .tuijianB { width: 100%;height: 0;padding-bottom: 51%;border-bottom: 1px solid #eee;}
  .tuijianBT{ width: 100%;}
  .tuijianBT img{ width: 100%}
  .tuijianBM{ width: 100%;color: #212121;font-size: .30rem;}
  .tuijianBM p{ width: 90%;textoverflow();padding-left:.2rem;padding-top: .2rem}
  .tuijianBB{ width: 100%;color: #616161;font-size: .26rem;}
  .tuijianBB p{ width: 90%;textoverflow();padding-left:.2rem;padding-top: .2rem}
</style>
